package cn.zjnu.DAO;

import java.sql.ResultSet;
import java.sql.SQLException;


import org.eclipse.jdt.internal.compiler.ast.SuperReference;

public class RoomDAO extends Dao{

	public ResultSet Query(String EmId,String DeptId,String BuildNo) throws SQLException{
		String sql="select * from Rooms where EmId='"+EmId+"' and DeptId='"+DeptId+"' and BuildNo='"+BuildNo+"'";
		ResultSet rs=statement.executeQuery(sql);
		return rs;	
	}
	
	
	
	
}
